<!-- 施工队总况 -->
<div class="index-main">
  <div class="header-top">
    <div class="sys-name">
    </div>
    <div class="icon-item fr">
      <div class="btn-group select user-btn" uib-dropdown auto-close="outsideClick">
        <div class="user-header" uib-dropdown-toggle>
          <div class="user-pic"></div>
          <span class="filter-option fs-14">{{vm.userName}}</span>
          <span class="iconfont down-icon"
            ng-class="{'icon-fa-angle-up': vm.isDropDown, 'icon-xiala': !vm.isDropDown}"></span>
        </div>
        <div ng-class="{'drop': vm.isDropDown}"
          class="dropdown-menu drop-border-none" uib-dropdown-menu1 role="menu1" aria-labelledby="single-button">
          <div class="arrow-up"></div>
          <ul class="dropdown-menu-list">
            <li class="drop-href" ng-click="vm.changePwd()">
              <a>
                <span class="edit-pwd">修改密码</span>
                <i class="iconfont icon-mima fr edit-pwd-icon"></i>
              </a>
            </li>
            <li class="drop-href" ng-click="vm.logout()">
              <a>
                <span class="edit-pwd">退出</span>
                <i class="iconfont icon-tuichu2 fr edit-pwd-icon"></i>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  <div class="main home">
    <div class="main-header cons-go-back">
      {{vm.unitName}}
      <!-- <go-back></go-back> -->
      <div class="pa-icon-div fs-theme-color fs-14 cons-go-back-btn" onclick="window.history.go(-1)">
        <i class="iconfont icon-fanhui1 fs-14"></i>
        <span>返回</span>
      </div>
    </div>
    <cons-stats-num org-id="vm.orgId"></cons-stats-num>
    <div class="row-item fs0">
      <patrol-rank org-id="vm.orgId"></patrol-rank>
      <cons-problem-num org-id="vm.orgId"></cons-problem-num>
      <problem-classify org-id="vm.orgId"></problem-classify>
    </div>
    <div class="row-item fs0">
      <staff org-id="vm.orgId"></staff>
      <device org-id="vm.orgId"></device>
    </div>
      <!-- 统计教育培训、安全交底、问题数量 -->
      <!-- <stats-num></stats-num> -->
      <!-- <div class="row-item fs0"> -->
      <!-- 统计 巡查概况 -->
      <!-- <patrol-rank></patrol-rank> -->
      <!-- 问题列表 -->
      <!-- <problem-list></problem-list> -->
      <!-- </div> -->
      <!-- <div class="row-item fs0"> -->
      <!-- 施工队列表 -->
      <!-- <construction-list></construction-list> -->
      <!-- 施工队问题列表top5 -->
      <!-- <cons-problem-num></cons-problem-num> -->
      <!-- 问题列表top5 -->
      <!-- <problem-classify></problem-classify> -->
      <!-- </div> -->
      <!-- <div class="row-item fs0"> -->
      <!-- <staff></staff> -->
      <!-- <device></device> -->
      <!-- </div> -->
  </div>
</div>

<!-- 修改密码 -->
<script type="text/ng-template" id="consHomePwdDialog">
  <div class="pa-dialog">
    <div class="pa-dialog-header">
      <div class="title-txt">
        <span>修改密码</span>
      </div>
    </div>
    <div class="pa-dialog-content text-center document-dialog-file">
      <form name="editForm" novalidate>
        <!-- <div class="pa-form-control pa-width-100">
          <label class="text-right">登录名：</label>
          <input type="text" name="loginName" class="form-control-input"
            disabled ng-model="$consHomePwdDialog.userInfo.loginName">
        </div> -->
        <div class="pa-form-control pa-width-100">
          <label class="text-right"><b>*</b>原始密码：</label>
          <input type="password" name="originalPassword" class="form-control-input"
            ng-model="$consHomePwdDialog.userInfo.originalPassword" required>
        </div>
        <div class="pa-form-control pa-width-100">
          <label class="text-right"><b>*</b>新密码：</label>
          <input type="password" name="newPassWord" class="form-control-input"
            ng-model="$consHomePwdDialog.userInfo.newPassWord" required>
        </div>
        <div class="pa-form-control pa-width-100">
          <label class="text-right"><b>*</b>确认密码：</label>
          <input type="password" name="confirmPassWord" class="form-control-input"
            ng-model="$consHomePwdDialog.userInfo.confirmPassWord" required>
        </div>
      </form>
    </div>
    <div class="pa-dialog-footer text-center">
      <a class="pa-btn" ng-click="$consHomePwdDialog.submit(editForm)">
        <span>确定</span>
      </a>
      <a class="pa-btn reset-btn" ng-click="closeThisDialog()">
        <span>取消</span>
      </a>
    </div>
  </div>
</script>
